blob: fb89e3c7025a47b99bef33105c4954d14fdc027f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import { IconGo } from "~/component/icon"
import { useI18n } from "~/context/i18n"
import { useLanguage } from "~/context/language"
import { LiteSection } from "./lite-section"
export default function () {
const i18n = useI18n()
const language = useLanguage()
return (
<div data-page="workspace-[id]">
<section data-component="header-section">
<IconGo />
<p>
<span>
{i18n.t("workspace.lite.banner.beforeLink")}{" "}
<a target="_blank" href={language.route("/docs/go")}>
{i18n.t("common.learnMore")}
</a>
.
</span>
</p>
</section>
<div data-slot="sections">
<LiteSection />
</div>
</div>
)
}
|